package com.sna.snaapplication.entity.usercore.core;

import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class RegisterRequest {
    @Pattern(regexp = "^\\S{5,16}$")
    private String username;

    @Pattern(regexp = "^\\S{5,16}$")
    private String password;

    @Pattern(regexp = "^\\S{5,16}$")
    private String confirmpassword;

}